package com.yykj.im.center.client.form.consultation;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SystemNoticeUpdateForm {

    @ApiModelProperty(value = "列表返回的消息Id", required = true)
    @NotEmpty(message = "消息Id不能为空")
    public String id;

    @ApiModelProperty(value = "消息标题")
    public String title;

    @ApiModelProperty(value = "消息内容")
    public String content;

    @ApiModelProperty(value = "链接地址,点击可跳转H5页面")
    public String url;

    @ApiModelProperty(value = "备注")
    public String remark;

    @ApiModelProperty("定时发送日期,yyyy-MM-dd HH:mm:ss,为空表示 立即发送")
    private String sendTime;

    @ApiModelProperty("性别,0:全部,1:男,2:女")
    private Integer gender;

    @ApiModelProperty("医院ID")
    private Integer hospitalId;

    @ApiModelProperty("部门ID")
    private Integer departmentId;

    @ApiModelProperty("所选用户")
    List<UserInfoForm> users;

}
